package com.integral.xr.module.platform.controller.admin.village.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 村情展示新增/修改 Request VO")
@Data
public class VillageSaveReqVO {

    @Schema(description = "主键id", requiredMode = Schema.RequiredMode.REQUIRED, example = "4417")
    private String id;

    @Schema(description = "标题")
    private String title;

    @Schema(description = "作者")
    private String author;

    @Schema(description = "内容")
    private String content;

    @Schema(description = "发稿时间")
    private LocalDateTime reportTime;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "状态不能为空")
    private Integer state;

    @Schema(description = "是否发布", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "是否发布不能为空")
    private Integer isrelease;

    @Schema(description = "区划id", example = "16891")
    private String deptId;

    @Schema(description = "区划名称", example = "芋艿")
    private String deptName;

    @Schema(description = "区划编码")
    private String deptCode;

}